From: Pierre-Jean Texier Date: Thu, 23 Jan 2020 18:14:40 +0000 (+0100) Subject: zck.h: fix build on musl X-Git-Tag: archive/raspbian/1.1.9+ds1-1+rpi1~1^2~29^2~1 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=78247d478cec254bad27f4ed97b532f4f54bf1b0;p=zchunk.git zck.h: fix build on musl The ssize_t type requires the header. This fixes build with musl libc: include/zck.h:68:1: error: unknown type name 'ssize_t'; did you mean 'size_t'? 68 | ssize_t zck_read(zckCtx *zck, char *dst, size_t dst_size) | ^~~~~~~ | size_t include/zck.h:81:1: error: unknown type name 'ssize_t'; did you mean 'size_t'? 81 | ssize_t zck_write(zckCtx *zck, const char *src, const size_t src_size) | ^~~~~~~ | size_t Signed-off-by: Pierre-Jean Texier --- diff --git a/include/zck.h.in b/include/zck.h.in index 91d2557..b847576 100644 --- a/include/zck.h.in +++ b/include/zck.h.in @@ -5,6 +5,7 @@ #include #include +#include typedef enum zck_hash { ZCK_HASH_SHA1,